Optimal. Leaf size=21 \[ \frac {2}{3} \cos ^3\left (\sqrt {x}\right )-2 \cos \left (\sqrt {x}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.02, antiderivative size = 21, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 2, integrand size = 14, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.143, Rules used = {3379, 2633} \[ \frac {2}{3} \cos ^3\left (\sqrt {x}\right )-2 \cos \left (\sqrt {x}\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2633
Rule 3379
Rubi steps
\begin {align*} \int \frac {\sin ^3\left (\sqrt {x}\right )}{\sqrt {x}} \, dx &=2 \operatorname {Subst}\left (\int \sin ^3(x) \, dx,x,\sqrt {x}\right )\\ &=-\left (2 \operatorname {Subst}\left (\int \left (1-x^2\right ) \, dx,x,\cos \left (\sqrt {x}\right )\right )\right )\\ &=-2 \cos \left (\sqrt {x}\right )+\frac {2}{3} \cos ^3\left (\sqrt {x}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.02, size = 23, normalized size = 1.10 \[ \frac {1}{6} \cos \left (3 \sqrt {x}\right )-\frac {3 \cos \left (\sqrt {x}\right )}{2} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.67, size = 15, normalized size = 0.71 \[ \frac {2}{3} \, \cos \left (\sqrt {x}\right )^{3} - 2 \, \cos \left (\sqrt {x}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.36, size = 15, normalized size = 0.71 \[ \frac {2}{3} \, \cos \left (\sqrt {x}\right )^{3} - 2 \, \cos \left (\sqrt {x}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.08, size = 15, normalized size = 0.71 \[ -\frac {2 \left (2+\sin ^{2}\left (\sqrt {x}\right )\right ) \cos \left (\sqrt {x}\right )}{3} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.30, size = 15, normalized size = 0.71 \[ \frac {2}{3} \, \cos \left (\sqrt {x}\right )^{3} - 2 \, \cos \left (\sqrt {x}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 4.74, size = 14, normalized size = 0.67 \[ \frac {2\,\cos \left (\sqrt {x}\right )\,\left ({\cos \left (\sqrt {x}\right )}^2-3\right )}{3} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.92, size = 29, normalized size = 1.38 \[ - 2 \sin ^{2}{\left (\sqrt {x} \right )} \cos {\left (\sqrt {x} \right )} - \frac {4 \cos ^{3}{\left (\sqrt {x} \right )}}{3} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________